package CircleAndCylinder;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.setRadius(10);
        circle.findArea();
        System.out.println("圆的面积"+circle.findArea());

        Cylinder cylinder = new Cylinder();

        cylinder.setLength(8);
        cylinder.setRadius(10);

        System.out.println(cylinder.length);

        System.out.println("圆柱的体积："+cylinder.findVolume());


    }

}
